package com.sinux.generality.provider.demo.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sinux
 * @since 2023-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="UseLog对象", description="")
public class UseLog implements Serializable {

    private static final long serialVersionUID=1L;
    @TableId(value = "user_log_id", type = IdType.ID_WORKER_STR)
    private String useLogId;

    @ApiModelProperty(value = "使用用户id")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "请求内容")
    private String requestParam;

    @ApiModelProperty(value = "返回内容")
    private String responseParam;

    @ApiModelProperty(value = "是否成功")
    private Integer useStatus;

    @ApiModelProperty(value = "失败原因")
    private String failReason;


}
